package com.cdgeekcamp.redas.lib.core;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class RedasRecrPageEsConfig {
    @Value("${redas.elasticsearch.recr_page.scheme}")
    private String scheme;

    @Value("${redas.elasticsearch.recr_page.host}")
    private String host;

    @Value("${redas.elasticsearch.recr_page.port}")
    private Integer port;

    @Value("${redas.elasticsearch.recr_page.index}")
    private String index;

    @Value("${redas.elasticsearch.recr_page.type}")
    private String type;

    public RedasRecrPageEsConfig() {
    }

    public String getScheme() {
        return scheme;
    }

    public void setScheme(String scheme) {
        this.scheme = scheme;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
